using System;

using Sunyi.Project.WebPoint.DataAccessController;
using Sunyi.Project.WebPoint.DataContract;

namespace Sunyi.Project.WebPoint.BusinessLogic
{
    public partial class UserManager
    {
        UserDaoController controller = new UserDaoController();

        public User Select(Guid userId)
        {
            return controller.Select(userId);
        }

        public void Insert(User user)
        {
            controller.Insert(user);
        }

        public void Update(User user)
        {
            controller.Update(user);
        }

        public void Delete(Guid id)
        {
            controller.Delete(id);
        }

        public void Save(User user)
        {
            controller.Save(user);
        }
    }
}
